import GameBoxItemModel from "../gamebox/GameBoxItemModel";



export default class SarsGameBox extends  GameBoxItemModel  {


    private showFlag:boolean = false;

    isShowIcon(){
        return this.showFlag;
    }
    isActive(){
        return  cc.sys.os != cc.sys.OS_IOS;
    }
    constructor(){
        super();
        this.setAppID('wx8e1ae09b03710b3a')
        this.setIcon('pic/icon/sarsgame')
        this.setName('微笑游戏')        
        this.init();
    }

    //初始化流量共享组件显示
    init(): void {
    }

    /* 流量共享组件注册icon监听方法,
    ** gameIcon 为一个远端的图片路径，需要把路径赋值给挂接的显示对象即可
    */
    change(): void {

    }
}
